<?php
namespace frontend\controllers;

use yii\web\Controller;

/**
 * Site controller
 */
class MapController extends Controller
{

    public $enableCsrfValidation=false;

    /**
     * Displays homepage.
     *
     * @return mixed
     */
    public function actionIndex()
    {
        return $this->actionGoogle();
    }


    /**
     * google地图
     * @return string
     */
    public function actionGoogle()
    {
        return $this->render('google');
    }

    /**
     * 坐标转换
     */
    public function actionTransfer(){
        return $this->render('transfer');
    }

    public function actionTaifeng(){
        return $this->render('taifeng');
    }
}
